using System;
using System.Collections.Generic;
using System.Text;

namespace Universe.JRun
{
    [Serializable]
    public class JResponse
    {
        private int _exitCode;
        private string _output;
        private string _errors;


        public JResponse(int exitCode, string output, string errors)
        {
            _exitCode = exitCode;
            _output = output;
            _errors = errors;
        }

        public JResponse()
        {
        }


        public string Errors
        {
            get { return _errors; }
            set { _errors = value; }
        }

        public string Output
        {
            get { return _output; }
            set { _output = value; }
        }

        public int ExitCode
        {
            get { return _exitCode; }
            set { _exitCode = value; }
        }
    }
}
